package com.zhijiaoyun.model;

/**
 * @author shisfish
 * @date 2017/6/6
 */
public class Lesson extends ModifyModel {
	private static final long serialVersionUID = -221995573303379832L;

	private Long lessonId;

    private Long courseId;

    private String name;

    private String title;

    private String videoUrl;

    /**
     * 课时的排序
     */
    private Integer sort;

    private Integer lessonType;

    private Integer status;

    private String content;

    public Lesson() {
		super();
	}

	public Lesson(Long courseId, String name, String title, String videoUrl, Integer sort, String content, String createUser) {
		super();
		this.courseId = courseId;
		this.name = name;
		this.title = title;
		this.videoUrl = videoUrl;
		this.sort = sort;
		this.content = content;
		this.createUser = createUser;
	}

	public Long getLessonId() {
        return lessonId;
    }

    public void setLessonId(Long lessonId) {
        this.lessonId = lessonId;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getTitle() {
        return title;
    }

    public Integer getLessonType() {
		return lessonType;
	}

	public void setLessonType(Integer lessonType) {
		this.lessonType = lessonType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl == null ? null : videoUrl.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }



    public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

}